﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CreateOrganization.aspx.vb" Inherits="Account_CreateOrganization" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
 
    <br />
    <div align="center">
        <h1>Register Your Organization</h1>
    </div>
    <br />
    <div align="center">
       <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="OrganizationValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="OrganizationValidationGroup"/>

    <asp:Table ID="Table1" runat="server" BorderStyle="Double" Height="43px" Width="324px" CssClass="orgRegistration">
       <asp:TableRow>
           <asp:TableCell Width="150px"><%-- User Name --%>
                <asp:Label ID="lblName" runat="server" Text="User Name: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:Label ID="lblUserNameAuto" runat="server" Text=""></asp:Label> <%-- Damen na to valoume ma lblna fkali automata to user Name --%>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>          
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- name --%>
                <asp:Label ID="lblOrganizationName" runat="server" Text="Organization Name: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtOrganizationName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="NameRequired" runat="server" ControlToValidate="txtOrganizationName" 
                             CssClass="failureNotification" ErrorMessage="Name of the Organization is required." ToolTip="Organization Name is required." 
                             ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>       
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- Address --%>
                <asp:Label ID="lblAddress" runat="server" Text="Address: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="AddressValidator" runat="server" ControlToValidate="txtAddress" 
                             CssClass="failureNotification" ErrorMessage="Address is required." ToolTip="Address is required." 
                             ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow> 
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- Contact Person --%>
                <asp:Label ID="lblContactPerson" runat="server" Text="Contact Person: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtContactPerson" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="ContactPersonValidator" runat="server" ControlToValidate="txtContactPerson" 
CssClass="failureNotification" ErrorMessage="Contact Person is required." ToolTip="Contact Person is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow> 
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- TelephoneNo --%>
                <asp:Label ID="lblTelephoneNo" runat="server" Text="Telephone Number: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtTelephoneNo" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="TelephoneNoValidator" runat="server" ControlToValidate="txtTelephoneNo" 
CssClass="failureNotification" ErrorMessage="Telephone Number is required." ToolTip="Telephone Number is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>         
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- FaxNo --%>
                <asp:Label ID="lblFaxNo" runat="server" Text="Fax Number: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtFaxNo" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="FaxNoValidator" runat="server" ControlToValidate="txtFaxNo" 
CssClass="failureNotification" ErrorMessage="Fax Number is required." ToolTip="Fax Number is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>          
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- Location --%>
                <asp:Label ID="lblLocation" runat="server" Text="Location: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtLocation" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="LocationValidator" runat="server" ControlToValidate="txtLocation" 
CssClass="failureNotification" ErrorMessage="Location is required." ToolTip="Location is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>          
                
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- Founder --%>
                <asp:Label ID="lblFounder" runat="server" Text="Founder: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtFounder" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="FounderValidator" runat="server" ControlToValidate="txtFounder" 
CssClass="failureNotification" ErrorMessage="Founder is required." ToolTip="Founder is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>          
        
        <asp:TableRow>
           <asp:TableCell Width="150px"><%-- E-Mail --%>
                <asp:Label ID="lblEmail" runat="server" Text="E-Mail: "></asp:Label>
           </asp:TableCell>
           <asp:TableCell Width="200px">
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="EmailValidator" runat="server" ControlToValidate="txtEmail" 
CssClass="failureNotification" ErrorMessage="E-mail is required." ToolTip="E-mail is required." 
ValidationGroup="OrganizationValidationGroup">*</asp:RequiredFieldValidator>
           </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>  

                <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <asp:Button ID="btnUploadDB" Text="Upload DB" runat="server" />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow> 

 
        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <br />
           </asp:TableCell>
           <asp:TableCell>
           <br />
           </asp:TableCell>
        </asp:TableRow>    
             
        <asp:TableRow> <%-- Empty Line --%>
           <asp:TableCell>
           <asp:Button ID="btnCreateOrganization" Text="Create" runat="server" ValidationGroup="OrganizationValidationGroup" />
           </asp:TableCell>
        </asp:TableRow> 
    </asp:Table>
    </div>   
            

    <br />
    <div class="footer"><asp:Label ID="lblValidate" runat="server"></asp:Label></div>
    <br />
    <br />
    <br />
</asp:Content>

